Matches in DBpedia 2014 for { <http://dbpedia.org/resource/Promise_(computing)> ?p ?o. }
Showing items 1 to 25 of
25
with 100 items per page.
- Promise_(computing) abstract "A promise is the final item in a stream. A stream itself is a way to shorten a very long sequence into a short one, and request only the items needed at the moment. For example, in pseudocode, assuming intseq reports an integer sequence up to its input:intseq(5)=(1, 2, 3, 4)For long computations, like intseq(10000), a program may not immediately need a list containing 10,000 elements. Upon a closer look at intseq, it may look something like this:define intseq (value, this=1){ if (this == value) return; return flatten(this, intseq(value, this+1));}If not all integers were needed immediately, it would be more efficient to return a promise instead. A stream_intseq may look like this (in pseudocode):define stream_intseq(value, this){ if (this == value) return; return flatten(this, "*end*", way_to_invoke(stream_intseq(value, this+1)));}In this way, a way to invoke (generated by way_to_invoke) the next operation is returned after a custom value that defines the end of data input (in this case, "*end*"). When needed, the caller can use the handle generated by way_to_invoke to invoke the next result. This will be added to the data part of the list, and the next invocation will be stored. For example, for stream_intseq(5), through all invocations:(1, *end*, way_to_invoke(stream_intseq(5, 2)))(1, 2, *end*, way_to_invoke(stream_intseq(5, 3)))(1, 2, 3, *end*, way_to_invoke(stream_intseq(5, 4)))(1, 2, 3, 4, *end*, way_to_invoke(stream_intseq(5, 5)))(1, 2, 3, 4)Notice the one extra invocation of stream_intseq, that is determined afterward to be empty. This is normal, as it happens to intseq as well.There is also another kind of promise, that people may use now and then. To learn more about promise, check the definition below.1 A declaration or assurance that one will do a particular thing or that a particular thing will happen.Here are some synonyms :assurance, pledge, vow, guarantee, oath, bond, undertaking, and other definitions.Here is an example: "what happened to all those firm promises of support?"There are many other definitions, but those were the best ones.".
- Promise_(computing) wikiPageID "18529276".
- Promise_(computing) wikiPageRevisionID "593065088".
- Promise_(computing) hasPhotoCollection Promise_(computing).
- Promise_(computing) subject Category:Compiler_optimizations.
- Promise_(computing) subject Category:Evaluation_strategy.
- Promise_(computing) type Abstraction100002137.
- Promise_(computing) type Act100030358.
- Promise_(computing) type Action100037396.
- Promise_(computing) type Change100191142.
- Promise_(computing) type ChangeOfState100199130.
- Promise_(computing) type CompilerOptimizations.
- Promise_(computing) type Event100029378.
- Promise_(computing) type Improvement100248977.
- Promise_(computing) type Optimization100260051.
- Promise_(computing) type PsychologicalFeature100023100.
- Promise_(computing) type YagoPermanentlyLocatedEntity.
- Promise_(computing) comment "A promise is the final item in a stream. A stream itself is a way to shorten a very long sequence into a short one, and request only the items needed at the moment. For example, in pseudocode, assuming intseq reports an integer sequence up to its input:intseq(5)=(1, 2, 3, 4)For long computations, like intseq(10000), a program may not immediately need a list containing 10,000 elements.".
- Promise_(computing) label "Promise (computing)".
- Promise_(computing) sameAs m.04f6d97.
- Promise_(computing) sameAs Q7249767.
- Promise_(computing) sameAs Q7249767.
- Promise_(computing) sameAs Promise_(computing).
- Promise_(computing) wasDerivedFrom Promise_(computing)?oldid=593065088.
- Promise_(computing) isPrimaryTopicOf Promise_(computing).