develooper Front page | perl.module-authors | Postings from June 2012

module name for a tutorial or example or sample module

Thread Next
From:
bulk 88
Date:
June 7, 2012 18:15
Subject:
module name for a tutorial or example or sample module
Message ID:
COL115-W18413ACBEB5A2ADBF69216DFF20@phx.gbl

I have a XS module I wrote as a sample, example or tutorial on how to do increase the performance of perl hashes on an XS level. It doesn't do anything useful on its own other provide 2 XSUBs which are supposed to be benchmarked against each other to show the traditional vs my "new" way of doing things. It exports nothing C/.so/.a/.lib/.dll or Perl wise. It's test file just does the benchmark. It doesn't link with anything except a stock perl and a stock c std lib. It only real purpose is to be copied into other XS modules and be studied from. What namespace should it go under? I thought its name should be FastHash or XSFasterHashes. Example::FastHash? Example:: already exists. Sample:: doesn't exist. XS:: exists, XS::Example doesn't, so XS::Example::FastHash? Module::FastHash? (I dont like that) Module::Example::FastHash? Acme::FastHash? Acme::Tutorial::FastHash? I dont find Acme:: offensive, its a good way to prove the module doesn't do anything on its own and its not intended to be use'd.
 		 	   		  
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About