On Thu, Jul 20, 2017 at 12:37 PM, Timo Paulssen wrote:
> On 19/07/17 21:52, Gabor Szabo wrote:
>> Hi,
>>
>> is it possible to get the size of memory used by the current Perl 6
>> process? (From inside the code)
>> Is it possible to get the size of the individual variables?
>>
>>
Futher to Timo's explanation, below is a rewrite of your code to consider.
The documentation reference is
https://docs.perl6.org/language/classtut#Constructors
class Etran {
has $.dstamp is rw;
has $.folio is rw;
has $.ticker is rw;
has $.way; # only used at
On 19/07/17 21:52, Gabor Szabo wrote:
> Hi,
>
> is it possible to get the size of memory used by the current Perl 6
> process? (From inside the code)
> Is it possible to get the size of the individual variables?
>
> Gabor
I'm not aware of something cross-platform that rakudo offers for memory
use
On 20/07/17 11:51, Mark Carter wrote:
>
> I have a class definition:
>
> class Etran {
> has $.dstamp is rw;
> has $.folio is rw;
> has $.ticker is rw;
> has $.qty is rw;
> has $.amount is rw;
> has $.desc is rw;
>
> method new($line) {
>
I have a class definition:
class Etran {
has $.dstamp is rw;
has $.folio is rw;
has $.ticker is rw;
has $.qty is rw;
has $.amount is rw;
has $.desc is rw;
method new($line) {
my ($cmd, $dstamp, $folio, $ticker, $qty,