Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    bps 2.4

    Download button

    No screenshots available
    Downloads: 265  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ciprian Niculescu | More programs
    Other/Proprietary Li... / FREE
    June 28th, 2012, 14:46 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    bps description

    A pointer set library

    The B-tree with a twist pointer set approaches the speed of the fastest, hash
    table based sets, while using a lot less memory and still maintaining
    an order.

    The set introduces a new B-tree variety with superior search and
    edit qualities.

    C Usage Example:

        /* the pointer set */
        void *pset;

        /* initialize - extra argument may indicate a memory allocator */
        /* should check return value for operation success */
        x1f4_init_bpfset(&pset, 0, NULL);

        /* register some pointer with the pointer set */
        if (x1f4_post_bppset(pset, pointer)) {
        /* operation failed */
        /*
         * if return value was X1f4_BPFSET_EVER_MATCH pointer is already
         * recorded with the pointer set (this set does not allow for
         * duplicates)
         *
         */
        }

        /* check that pointer is registered with the pointer set */
        if (x1f4_find_bppset(pset, pointer)) {
        /* yes, she is */
        } else {
        /* she is not */
        }

        /* remove pointer from the set */
        if (x1f4_cast_bppset(pset, pointer)) {
        /* operation failed */
        /*
         * if return value was X1f4_BPFSET_MISS_CLASS pointer is missing from
         * set
         *
         */
        }

        /* finalize */
        x1f4_fini_bpfset(&pset);



    Product's homepage

    What's New in This Release: [ read full changelog ]

    · This version adds two delete methods, one deleting the first element and the other the last element.

      


    TAGS:

    b-tree list | pointer set | hash table | library | hash | table

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM