Search Result

Collapse
5 results in 0.0044 seconds.
Keywords
Members
Tags
optimize
  •  

  • saliorkeo
    started a topic Issue parallelizing this c code with openmp
    in C

    Issue parallelizing this c code with openmp

    How can I parallelize this code with OpenMP?. The result I get is not correct.

    I try to use temporary variables p1aux, p2aux, and psumaux because the Reduction clause cannot be used with pointers or intrinsic functions. But as I said the result is incorrect.

    When I say "result is not correct", I would say: The calculations of array1 + array2 are stored in the matrix sumsse. The calculations are correct until...
    See more | Go to post

  • Rabbit
    started a topic How To: Optimize SQL Queries

    How To: Optimize SQL Queries

    Introduction
    In this article, I discuss the basic methods I use to analyse and optimize SQL queries. A properly written SQL with appropriate indices can turn a query that runs in hours into one that runs in seconds. While the code in this article is rooted in SQL Server, most of the concepts will apply to other databases.

    We will go over:
    1. Analyzing Performance of Queries
    2. Optimizing SQL Syntax
    3. Query Execution Plans
    4. Creating
    ...
    See more | Go to post
    Last edited by Rabbit; Mar 13 '12, 05:19 AM.

  • What is the best way to build a db to report a total number of true yes/nos'?

    I am trying to build a db to report the deficiencies/strengths of security. We have about 1000 criterion that we base these on. I am trying to set it up to where we can specify which criteria they are deficient in, and it will report the total number of deficiencies that section has. i have tried to do this with a yes/no field, and code that looks a little like this:
    Code:
    Sum(([a1000]+[a1001]+[a1003]+[a1002]+[a1004]+[a1005])*-1)
    in order...
    See more | Go to post

  • Aldert
    started a topic Optimize query(2)

    Optimize query(2)

    Hello,
    Several IDs noted by several sources. I would select all the IDs that are observed by all three sources. This applies only to data from the past 24 hours.

    So far I have:

    Select *
    From db
    Where id in ( Select id
    From db
    Where source = source_1)
    And id in ( Select id
    From db
    Where source = source_2)...
    See more | Go to post

  • srbakshi
    started a topic Query regarding optimization of my code
    in C

    Query regarding optimization of my code

    Hi all!
    I have a txt file that has some strings in the following format:

    TAG=MyString
    Eg:
    Code:
    FRUIT=I like mangoes
    CARS=I like red cars
    .
    .
    .
    PUSHUPS=I can do a zillion non-stop
    Now what I'm doing is search the TAGs in the file and storing the corresponding string associated with the TAG in a global string (1 for every tag) Something like this:
    Code:
    #include<stdio.h>
    ...
    See more | Go to post
Working...