Learn more about these different git repos.
Other Git URLs
It is a good practice to allow objects like collection integrate well with the memory management functions used by the application. There should be a way to set memory management functions for the collection interface to use.
Also it makes sense to allow different internal implementations of the collection. The collection can be based not only on the link list as now but on the hash table or array.
It makes sense to implement this feature when libcollection is turned into a stand alone .so.
One of the early ideas of how it can look like was this:
/* Function that creates a named collection using a memory descriptor. * Will be added in future together with the definition of the * descriptor structure. * The purpose is to control the internal implementation of * the collection * a) Use hash table for faster searches if the collection is * expected to be large. * b) Define memory functions to use. */ int col_create_collection_ex(struct collection_item **ci, const char *name, unsigned cclass, struct cdescriptor *descrptor);
Fields changed
description: It is a good practice to allow objects like collection integrate well with the memory management functions used by the application. There should be a way to set memory management functions for the collection interface to use.
One of the early ideas of ho it can look like was this: {{{ / Function that creates a named collection using a memory descriptor. * Will be added in future together with the definition of the * descriptor structure. * The purpose is to control the internal implementation of the collection * a) Use hash table for faster searches if the collection is expected to be large. * b) Define memory functions to use. /
int col_create_collection_ex(struct collection_item ci, const char name, unsigned cclass, struct cdescriptor descrptor); }}} => It is a good practice to allow objects like collection integrate well with the memory management functions used by the application. There should be a way to set memory management functions for the collection interface to use.
One of the early ideas of ho it can look like was this: {{{ / Function that creates a named collection using a memory descriptor. * Will be added in future together with the definition of the * descriptor structure. * The purpose is to control the internal implementation of * the collection * a) Use hash table for faster searches if the collection is * expected to be large. * b) Define memory functions to use. /
int col_create_collection_ex(struct collection_item ci, const char name, unsigned cclass, struct cdescriptor descrptor); }}}
One of the early ideas of how it can look like was this: {{{ / Function that creates a named collection using a memory descriptor. * Will be added in future together with the definition of the * descriptor structure. * The purpose is to control the internal implementation of * the collection * a) Use hash table for faster searches if the collection is * expected to be large. * b) Define memory functions to use. /
milestone: NEEDS_TRIAGE => SSSD Deferred
Nice to have. No demand so far. Can be deferred.
proposed: => 2.0
milestone: SSSD Deferred => Tools Deferred
rhbz: => 0
Metadata Update from @dpal: - Issue assigned to dpal - Issue set to the milestone: Tools Deferred
Ticket is moved out of sssd issue tracker.
https://pagure.io/SSSD/ding-libs/issue/308
Metadata Update from @lslebodn: - Custom field component reset - Custom field testsupdated reset - Custom field type reset - Custom field version reset - Issue close_status updated to: None
Metadata Update from @lslebodn: - Custom field testsupdated reset - Issue status updated to: Closed (was: Open)
SSSD is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in SSSD's github repository.
This issue has been cloned to Github and is available here: - https://github.com/SSSD/sssd/issues/1350
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Login to comment on this ticket.