Erwin Data Structures 2.1.88591 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Erwin Data Structures 2.1.88591 (Default branch)
# 1  
Old 08-28-2008
Erwin Data Structures 2.1.88591 (Default branch)

ImageThe Erwin library is a very efficient and robust data structure templatelibrary for C and C++. No templates are used; a Perl script generatesC files. Vectors (dynamic arrays), lists, and hash tables (maps) ofarbitrary key and value types are provided. Several tools are includedfor auto-generating a C interface around C++ libraries, C++ extensionslike slots/properties, symbol (=hashed string) management, sophisticatedassertion macros, and documentation extraction.License: Freely DistributableChanges:
Integer overflows leading to unexpected orderingswere fixed from many comparison functions. CMakesupport was added. Two more bit operations fromHacker's Delight were added.Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Programming

Signalsafe data structures

Hello, I have a signal handler which manipulates a data structure. The data structure's operations aren't atomic. So if two threads/processes are in a critical section at the same time the data structure will be broken. With threads you can avoid this stuff with semaphores etc. However,... (10 Replies)
Discussion started by: littlegnome
10 Replies

2. Shell Programming and Scripting

Perl Data Structures

Here is what i need to do. @data #has all column wise data so say info for col 1 location for all rows would be in this array $array = \@data But i need to create a file which should contain these information in a format for all columns even if i have got no values from some of the index... (0 Replies)
Discussion started by: dinjo_jo
0 Replies

3. Programming

shared memory - userdefined data structures

Hello, I wonder if I can write my userdefined data structures(ex: a list) to a shared memory segment? I know, the shm functions get (void*) parameter so I should be able to read and write a list into the shared memory. may someone inform and clarify me about that, please? (1 Reply)
Discussion started by: xyzt
1 Replies
Login or Register to Ask a Question
Clone(3)						User Contributed Perl Documentation						  Clone(3)

NAME
Clone - recursively copy Perl datatypes SYNOPSIS
package Foo; use parent 'Clone'; package main; my $original = Foo->new; $copy = $original->clone; # or use Clone qw(clone); $a = { 'foo' => 'bar', 'move' => 'zig' }; $b = [ 'alpha', 'beta', 'gamma', 'vlissides' ]; $c = Foo->new; $d = clone($a); $e = clone($b); $f = clone($c); DESCRIPTION
This module provides a clone() method which makes recursive copies of nested hash, array, scalar and reference types, including tied variables and objects. clone() takes a scalar argument and duplicates it. To duplicate lists, arrays or hashes, pass them in by reference. e.g. my $copy = clone (@array); # or my %copy = %{ clone (\%hash) }; SEE ALSO
Storable's dclone() is a flexible solution for cloning variables, albeit slower for average-sized data structures. Simple and naive benchmarks show that Clone is faster for data structures with 3 or less levels, while dclone() can be faster for structures 4 or more levels deep. COPYRIGHT
Copyright 2001-2013 Ray Finch. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHOR
Ray Finch "<rdf@cpan.org>" Breno G. de Oliveira "<garu@cpan.org>" and Florian Ragwitz "<rafl@debian.org>" perform routine maintenance releases since 2012. perl v5.18.2 2013-12-07 Clone(3)