On Wed, Oct 21, 2009 at 12:05 PM, Sidharth Kuruvila
sidharth.kuruv...@gmail.com wrote:
d = {a:Hello}
print d.setdefault(a, blah)
Even though the string blah is not being used an object has to be
created to represent it. Even worse, you could put some complex
expression in there expecting
On Wed, Oct 21, 2009 at 12:05 PM, Sidharth Kuruvila
sidharth.kuruv...@gmail.com wrote:
Hi,
d = {a:Hello}
print d.setdefault(a, blah)
Even though the string blah is not being used an object has to be
created to represent it. Even worse, you could put some complex
expression in there
What do you mean when you use the word interned?
$ pydoc intern
Help on built-in function intern in module __builtin__:
intern(...)
intern(string) - string
``Intern'' the given string. This enters the string in the (global)
table of interned strings whose purpose is to speed up
There is a small correction with respect to the percentage value given to
the entity. I previously thought that the percentage value with the entity
indicated how sure OpenCalais was on the element being an entity. That turns
out to be incorrect.
Thomas from OpenCalais team mailed me the
On Wed, Oct 21, 2009 at 12:31 PM, Anand Chitipothu anandol...@gmail.com wrote:
``Intern'' the given string. This enters the string in the (global)
table of interned strings whose purpose is to speed up dictionary lookups.
Return the string itself or the previously interned string
Hi,
My bad, that was a bit of laziness on my part. The reason why my
code was silly is not to do with interning though that does happen for
strings. Literals, that is numbers and string literals and a few
others are loaded as constants. So the cost of constructing them in
your code has already
On a similar note, here's a question I recently asked and obtained good
input about tail recursion optimization.
http://stackoverflow.com/questions/1414581/python-recursive-program-to-prime-factorize-a-number
On Wed, Oct 21, 2009 at 1:14 PM, Sidharth Kuruvila
sidharth.kuruv...@gmail.com wrote:
On Tue, Oct 20, 2009 at 5:31 PM, Kenneth Gonsalves law...@au-kbc.orgwrote:
On Tuesday 20 Oct 2009 5:28:52 pm Noufal Ibrahim wrote:
On Tue, Oct 20, 2009 at 3:53 PM, Baiju M mba...@zeomega.com wrote:
Hi,
I hope this link would be useful for some newly joined
members:
On Wednesday 21 Oct 2009 1:59:13 pm Dhananjay Nene wrote:
I have a feeling, far out in the future when driving on either side of the
road will be just as convenient,
how will that be achieved? If people chose which side they wanted to drive on
would they not crash into each other?
--
regards
hi,
there is a person who is a brilliant mathematician/cryptographer who has
recently taken up python. I need a solid project proposal to hook him -
preferably something in an existing project that really needs to be done. Any
ideas?
--
regards
Kenneth Gonsalves
Senior Project Officer
[BCC: Various Bangalore tech lists that I'm a member of]
Folks:
A number of us have heard of opensolaris and of technologies such as
ZFS, Dtrace, Zones, etc. After giving small intro sessions on ZFS and
on Zones, I've been approached by various attendees who have wanted an
indepth intro to
Some time ago I read an article regarding Linus complaining about the
license of a file system,Is it the ZFS?
Anyway I am not much into linux, just want to double check..
Regards,
Srinivas Reddy Thatiparthy.
--
I hear and I forget. I see and I remember. I do and I understand.
-
12 matches
Mail list logo