[General] What is this "for" meaning?

Status
Not open for further replies.

Andy Lin

Member
Joined
Mar 3, 2015
Member Type
Student or Learner
Native Language
Chinese
Home Country
Taiwan
Current Location
Taiwan
content:
One possible solution is to use an LRU algorithm that drops the Session ID "for" the oldest Session ID that has a pending 'Activate Session'. That way, the only way to........

I really don't know what this "for" meaning.
I tried to take a look this page: http://www.learnersdictionary.com/definition/for

and really not found a suitable explanation of it.

Thank you.
 
10a – 'in place of'
 
Provide more context.
 
Here is the whole context.
One possible solution is to use an LRU algorithm that drops the Session ID "for" the oldest Session ID that has a pending 'Activate Session'. That way, the only way to 'permanently' use up slots is by activating and maintaining sessions for all session slots. A minor refinement may be to provide a few seconds of delay on returning the response to the Get Session Challenge in order to give opportunity for a well-behaved application to get a Challenge and return an Activate Session command before the errant software re-issued another Get Session Challenge.

website:
https://imgur.com/a/mNfs52Y
 
To RobertJ:

Thanks for your explanation.
In my interpretation, the oldest session ID is replaced by a new one.

BUT, why use "drop" instead of "take" or something verb?

If we changed this sentence into: One possible solution is to use an LRU algorithm that takes the Session ID "for" the oldest Session ID that has a pending 'Activate Session'.

This is much more clear, isn't it?
 
for = replacing it with
 
Status
Not open for further replies.

Ask a Teacher

If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know:

(Requires Registration)
Back
Top