Project

General

Profile

Activity

From 04 Sep 2018 to 03 Oct 2018

03 Oct 2018

15:03 Slug #1228: SLUG: filling an array
John Abbott wrote:
> I would hope that checking writability is cheap...
We will make some checks.
I want to desi...
Anna Maria Bigatti
14:43 Slug #1228: SLUG: filling an array
Here is an alternative to my comment about the semantics of assignment (in comment 7):
# check that @LHS@ is writabl...
John Abbott
14:27 Slug #1228: SLUG: filling an array
Yes, we cannot (and probably should not) stop the user from "shooting himself in the foot".
But CoCoA-5 should never...
John Abbott

02 Oct 2018

19:43 Slug #1228: SLUG: filling an array
John Abbott wrote:
> I am inclined to think that a user who writes an assignment @LHS := RHS;@ where evaluating @RHS...
Anna Maria Bigatti
17:05 Slug #1228: SLUG: filling an array
A potential disadvantage of my proposed semantics is that if the RHS is expensive to evaluate, and the LHS is "obviou... John Abbott
16:51 Slug #1228: SLUG: filling an array
Now I fear there may be some "strange" situations in which nasty things may occur:... John Abbott
15:46 Slug #1228: SLUG: filling an array
I have changed @IndexedAccess::assignmentNeedsOwnership@ so that it gives @false@.
The loop is much faster (0.001s a...
John Abbott
15:26 Slug #1228: SLUG: filling an array
In @Interpreter.C@ around line 2065 there is:... John Abbott
15:20 Slug #1228: SLUG: filling an array
I have used profiling to confirm that the list is indeed copied (but why???)
The test code is:...
John Abbott

01 Oct 2018

11:16 Slug #1228 (In Progress): SLUG: filling an array
I have just tried the third loop again, but after making the list @sieve@ twice as long, and the loop takes almost tw... John Abbott

30 Sep 2018

10:11 Slug #1228: SLUG: filling an array
I forgot to mention that @N := 9699690@ (product of all primes up to 20).
The third loop is *APPALLINGLY SLOW*, *...
John Abbott
10:08 Slug #1228 (In Progress): SLUG: filling an array
It seems that assigning to an array element is surprisingly slow.
Look at the timings in the following session:
<...
John Abbott

10 Sep 2018

12:11 Bug #1226: ExternalLibs return empty list
fixed
(using new output of VersionInfo)
Anna Maria Bigatti

09 Sep 2018

13:56 Bug #1226 (Closed): ExternalLibs return empty list
In my personal working version of CoCoA-5.2.5 the command @ExternalLibs()@ returns an empty list even though @Version... John Abbott

04 Sep 2018

15:45 Bug #1224 (Closed): Lexer: unclosed multi-line comment
The lexer supposedly handles unclosed multi-line comments (at the end of input).
However, it seems that the error me...
John Abbott
 

Also available in: Atom