freenode/#lisp - IRC Chatlog
Search
15:24:36
loke
All I had to do was to add a second argument to the arglist in the translator named PRESENTATION
15:26:55
loke
Now that I know what to look for, it's actually documented in the entry for DEFINE-PRESENTATION-TRANSLATOR
15:27:09
loke
"arglist, tester-arglist, and doc-arglist are each an argument list that must "match" the following "canonical" argument list.
15:27:09
loke
In order to "match" the canonical argument list, there must be a single positional argument that corresponds to the presentation's object, and several named arguments that must match the canonical names above (using string-equal to do the comparison)."
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