taskReindeer - Tasks: task #10265, Immutable resources

 
 

You are not allowed to post comments on this tracker with your current authentification level.

task #10265: Immutable resources

Submitted by:  Patrik Olsson <peo>
Submitted on:  Sat 13 Mar 2010 08:35:01 PM UTC  
 
Should Start On: Fri 12 Mar 2010 11:00:00 PM UTCShould be Finished on: -
Category: libreindeerPriority: 3 - Low
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Open/Closed: OpenPlanned Release: None
Effort: 0.00

Sat 13 Mar 2010 08:35:01 PM UTC, original submission:

It should be possible to create some resources as "immutable". Backends can check if something is immutable and optimize the use of the resource if that is the case (for example, checking for updates is not necessary).

Immutable means the application promise to not change the resource and it is undefined behavior if they do anyway.

RenUsage could be used for at least all basic types (those that keep track of raw data), and a new value (e.g. REN_USAGE_IMMUTABLE) for this enum would mean immutable. Some types perhaps don't need the whole range of RenUsage values so a boolean is enough.

Note that backends could still use back data keys on immutable resources, it is just that the update callbacks will never be called for these resources (except for the first time).

Patrik Olsson <peo>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Digest:
   task dependencies.

 

Carbon-Copy List
  • -unavailable- added by peo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 13 Mar 2010 08:37:21 PM UTCpeoDependencies-=>task #10264 is dependent
    Sat 13 Mar 2010 08:35:47 PM UTCpeoShould be Finished onFri 12 Mar 2010 11:00:00 PM UTC=>-

    Back to the top


    Powered by Savane 3.1-cleanup