How can one reference symbols from PutBIN.pl?

I've been working on some code with a large number of static
variables, and my startup times have gotten so slow that my swf
will hit the fifteen second timeout before actually doing anything.
Confuddled by this, I examined the code being generated and
eventually realised that Alchemy allocates all static values one
byte at a time, dynamically in Actionscript, at startup. This is
less than ideal when one has large static arrays.
So, as my code is not much use timing out, I spent some time
writing a bash script to parse the $$.achacks.as sourcefile
generated by alchemy, track all the static global variables, and
write their values out into a memory file in advance. The script
then removes all non-function-pointer references to StaticInitter,
which is what processes the byte-by-byte initialisations, and
replaces them with a single ByteArray readBytes() call. After these
changes, I allow alchemy to compile my new code into the resulting
swc/exe/swf. I expect it would now start up lightning fast.
For this to work, the assumption is that I can get a
ByteArray into the code that already contains the values I need. I
tried using [Embed()] metadata, but alchemy does not seem to
support it. I suppose that is what PutBIN.pl is for -- and hence my
question.
How can one reference a symbol loaded with PutBIN.pl? What
must be passed to it and how is that related to what's in the code?
Is there an example anywhere? I can't seem to get it to work.
If others are interested in my script, I am glad to attach
it, but it is relatively long.

It's supposed to be ora_dict_obj_type. This is one of many event attributes that we can interrogate in DDL triggers. You can find out more in the online docs.
Cheers, APC

Similar Messages

  • How can i import contacts from another AIM account to this new one

    If you reference my last ichat question, you will see that I have had serious problems and had to create a new account.
    How can I import contacts from another AIM account to this new one??

    Hi,
    Use AIM for Mac and use the Export and Import features.
    Other than that it is a question on making sure every Single Buddy has more than just their Screen name in the IChat Address Card so it is added to the Address Book and dragging them back from there
    9:08 PM Thursday; February 7, 2008

  • HT5129 How can one stop this annoying MobileMe notice from appearing every time iPhoto is opened?

    How can one stop the annoying MobileMe notice from appearing every time iPhoto is opened?

    Well then you can not remove something that obviously has been removed
    Did you remove the references in the iPhoto preferences?  Did this eliminate the problem?  If so then you are done and your problem has been
    N resolved.
    LN

  • How can I move apps from one computer to the other?

    How can I move apps from one computer to the other?
    (preferably without iCloud)

    Backup your iTunes library to an external drive and onto the other computer
    http://support.apple.com/kb/ht1751

  • How can I transfer work from one computer to another?

    How can I transfer work from one computer to another?

    Welcome to the forum.
    I can think of three basic ways to accomplish what you wish to do:
    Use the Project Archiver to archive your Project (and check the box to gather the media files), to an external HDD. Probably the easiest way to do it.
    Copy the Project and ALL media files to an external HDD, but be prepared to relink the media files to the Project, as the drive letter (part of the Absolute Path) will have changed.
    Edit loosely, and Share to an AV file, which will be Imported into a New Project on that second computer. Or, edit VERY tightly, and do the same. I like the first, as removing, replacing Transitions, etc., can be much more difficult, unless that "tight edit" is 100% done.
    Good luck,
    Hunt
    Message was edited by: Bill Hunt to correct formatting

  • How can I transfer information from one ipad to another?

    how can I transfer information from one ipad to another ?

    What kind of information? You can sync things like Contacts and Calendars by using iCloud. You can backup one iPad to iTunes on a computer and then sync the backup to the other iPad. You can configure your iTunes content and sync the same content to both iPads.
    It is based on what you want to do. Or are you looking for a way to send files from one iPad to another wirelessly? There are apps to do things like that, as well as cloud services, such as DropBox.

  • How can I transfer songs from one computer to another

    How can I transfer songs from one computer to another

    Type "move itunes library" or similar into the Google search bar.

  • How can I transfer contacts from one iPad to a new iPad with different iCloud addresses?

    how can I transfer contacts from one iPad to a new iPad with different iCloud addresses?

    One way would be to e-mail them from yourself to yourself. That would totally avoid the different ID issue.

  • How can i put apps from one ipod to a new ipod?

    how can i put apps from one ipod to a new ipod?

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • How can I migrate everything from one account to another on same computer?

    How can I migrate everything from one account to another on same computer?

    Transferring files from one User Account to another

  • HT4061 how can i transfer ringtones from one iphone to another

    How can I transfer ringtones from one Iphone to another

    See this discussion...
    https://discussions.apple.com/message/15611504#15611504
    From the  More Like This  on the right

  • How can I transfer songs from one computers iTunes library to another library?

    How can I transfer songs from one computers iTunes library to another computers iTunes library?

    See Here
    iTunes: How to move your music to a new computer

  • How can I send stuff from one iPhone to another via Bluetooth?

    How can I send stuff from one iPhone to another via Bluetooth?

    There are some apps that will let you send photos from one iOS device to another over BT.

  • How can i copy apps from one computer to another?

    how can i copy apps from one computer to another?

    You don't mention which operating system you have so it's difficult to provide an answer since the mac and Windows stores the files differently.
    The other thing you can do is just re-download the apps from the iTunes Store. Just login to the iTunes Store on the other computer using the same Apple ID. On the right-hand side of the iTunes Store page you will see a 'Purchased' link. Clicking on that will take you to a page that will list your past purchases which you can re-download to the new computer.

  • How can I transfer apps from one iTunes library to another?

    How can I transfer apps from one iTunes library to another? My daughter has an iTouch, and I was managing it through my library. I have created an iTunes account for her, with a new iTouch, and would like to move the apps over. I tried to sync the old iTouch to the new library and it said it was already set up to sync with a different library. What is the best way to do this?

    You can transfer iTunes purchases by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    To make the new computer the syncing computer you have to:
    - Transfer iTunes purchases lIke I described above
    - Make a backup of the iPod on that computer by connecting the iPod and then right-clicking on the iPod under Devices in iTunes and selecting Back Up.
    - Restore the iPOd from that backup
    She will have to continue to use your iTunes ID to update the apps prchased with your account. To use her account she will have to log into the computer with her account (iTunes>Store) and change the sign in on the iPod by going to Settings>Store.

Maybe you are looking for

  • ITunes Library Only Play One Song at a Time After Upgrade to 7.2

    Just upgraded to ITunes 7.2 this morning. After upgrade (on Windows Vista Enterprise operating system) ITunes Library no longer will play through the songs in the library. Try as I might to reset Controls, clicking on play gives me play of the single

  • How to install osx on an external hard drive

    Hello, I am using a mac mini and i would like to run osx and logic studio from the external hd, it is an acomdata 500gb. Please help, thanks. Alex

  • Editing LR5 in Elements 12

    When I go to Edit/Preference/external editing tab/choose in LR5, elements 12 does not appear.Only cs5 and cs6 appear as I am not upto speed on both of them I want to use Elements 12.How do I get Elements 12  onto the list? Thankyou.

  • The options at the bottom of this form delete what you write.

    This is stupid. I just typed my question. I wanted to change my Phone to iOS 8 but I didn't expect it to delete everything I just wrote.

  • CS3 and OS X 10.5 Leopard.

    I have just updated my G4 iMac to OS X 10.5 and after doing so Photoshop CS3 either quits on startup or starts up and quits shortly after. I have tried repairing permissions, using a different user account and uninstalling and re-installing with no l