I'm adapting a system based on component files to take advantage of mapped files. Because a mapped file is passed by reference, you can run into problems by...
Using a 5 million element vector to compare a mapped file vs a component in a file, (all timings very rough): +/[]MAP File is significantly better than ...
I have very much the same observations. In fact, this is the whole point of mapped files, namely: Reading in something big to access a little bit of it is much...
Brooke Allen
brookea@...
Nov 3, 2003 8:24 pm
213
If this is not already identified as a special case, I nominate it: drop transpose take which I often read "recycle" from use and appearance. Eg find unique...
... To avoid confusion (with #MLs and stuff) I would spell it: split transpose mix ... I normally write this nub split[1] mix TABLE.(key1 key2) (I know, it's...
Anyone have a function lying around that generates a GUID? I think there is a Win API call, and there must be a .NET way too. If no one has researched it from...
RE: [dyalogusers] GUID - Globaly Unique Identifier. I hit this one with a hammer ... 'A' []WC 'OleServer' GUIDS <= 'A' []WG 'ClassID' 'TypeLibID' []ex 'A' It...
John Miller
JohnMiller@...
Nov 12, 2003 2:30 am
219
... Sure thing. First, out of .NET, as a d-fn which makes it "cool": guid<-{ CoCreateGuid<-{} // trick to keep the definition local _<-#NA'I...
Thanks Everyone! John: it had vaguely occurred to me that Dyalog must use GUIDs when doing stuff with OLE, but I don't do much along those lines, and didn't...
... Interesting approach! Since I am evil I tried to turn it into a d-fn (v9 or 10): NewGuid<-{ a<-#NS '' (execute 'a' #wc 'OleServer').ClassID } Unfortunately...
Hi APL'ers, I think its great that a discussion group exists! Glad to be a part of it. I consider myself a novice and have recently caught the "APL-fever". The...
Encode/Decode is good for mixed base arithmetic (together with a surprising number of other things). For example, to add yards, feet and inches: yds ft...
Do encode and decode work with non-integer left arguments? n.b. an ox drivers pole is 5 1/2 yards long = the length of an ox plus the length of a plough = the...
I've always been fond of using decode to evaluate polynomials. The value of a polynomial at a given x (forgive my mixing of notation!) is: value = ax*n +...
Everyone, thanks for all that great help in Encode and Decode. I didn't know it was so versatile! So I've been playing with the 2 primitives and I think I came...
Thanks Maria, I tried changing []CT to 1E-17 but no luck. What did work, however, is using 46 instead of 45 as my left hand argument. Although, I don't think...
That number is just too big to fit into a 32-bit integer. Anybody know of any tricks other than just splitting it into two? I guess the strategy would depend...
Thanks again for the assistance on GUIDs. Here is what I'm doing with them: I have been adapting a component file based personal productivity app to take...
Paul, After you've used the GUID stuff in your application, it might be interesting to us if you'd post your experience: which method you ended up using and...