freenode/#lisp - IRC Chatlog
Search
16:00:01
Bike
sxhash has to work ont he level of EQUAL, but two distinct standard-objects are never equal, so
16:01:39
shrdlu68
I wish to sxhash the subsequence of a sequence without subseq'ing, any idea how I can do this?
16:02:30
pjb
shrdlu68: you can use just the two or three first elements, or the first the middle and the last one, etc.
16:04:23
Bike
you mean you want the hash code to be an array index? and you want two distinct EQUAL objects to have the same index
16:05:23
Bike
if you really want to avoid subseq, i suppose i'd just use my own hash function, and mix up the elmeents
18:17:09
shrdlu68
Haha, and I stopped inlining, which was messing profiling results. Found a major bottleck, now down to 5s with my 35kb test-file.
18:26:55
shrdlu68
shka_: sb-sprof results without inlining make much more sense: https://gist.github.com/shrdlu68/081a78c6196b676395ca518a268d9119
21:31:47
k-hos
any ideas why calling (compile-file "test.lisp" :system-p t) in ECLs repl would emit a .fasc file instead of an .o
21:54:45
k-hos
their examples on the site say :system-p t is supposed to make it emit .o files by invoking gcc
22:10:51
k-hos
but I can't find any information about how to manually specify the compiler, or get it to emit just .c files
22:34:01
oni-on-ion
k-hos: and you've seen this? https://common-lisp.net/project/ecl/static/manual/ch26.html
22:38:11
k-hos
standalone program is what I am trying to get, preferably by compiling all files involved and not loading them at run time
22:39:56
oni-on-ion
k-hos: well. bulding programs and choosing a C compiler i think are very related concepts. you did say that you checked the manual and i did not intend to not believe you but i did a google search and thats where i ended up
3:50:06
SaganMan
It's fairly good morning today. Mangkhut has passed China and things are already back to normal.
3:53:33
SaganMan
yeah, I'm now talking to friend who lives in Shenzhen. He's safe now but he had hell of experience in typhoon.