mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-02 08:08:20 +00:00
Add Side-Effect-Free table of functions.
This commit is contained in:
parent
5d7829dc9d
commit
bf238f79b6
1 changed files with 227 additions and 0 deletions
227
seftable.txt
Normal file
227
seftable.txt
Normal file
|
@ -0,0 +1,227 @@
|
|||
# Side-effect-free table
|
||||
# This is a list of functions that can be optimized out if they appear
|
||||
# in side-effect-free expressions, e.g. alone as a statement.
|
||||
|
||||
# Some of these functions actually consume "energy". That's considered
|
||||
# a misfeature that can be optimized out here.
|
||||
llAbs
|
||||
llAcos
|
||||
llAngleBetween
|
||||
llAsin
|
||||
llAtan2
|
||||
llAvatarOnLinkSitTarget
|
||||
llAvatarOnSitTarget
|
||||
llAxes2Rot
|
||||
llAxisAngle2Rot
|
||||
llBase64ToInteger
|
||||
llBase64ToString
|
||||
llCSV2List
|
||||
llCeil
|
||||
llCloud
|
||||
llCos
|
||||
llDeleteSubList
|
||||
llDeleteSubString
|
||||
llDetectedGrab
|
||||
llDetectedGroup
|
||||
llDetectedKey
|
||||
llDetectedLinkNumber
|
||||
llDetectedName
|
||||
llDetectedOwner
|
||||
llDetectedPos
|
||||
llDetectedRot
|
||||
llDetectedTouchBinormal
|
||||
llDetectedTouchFace
|
||||
llDetectedTouchNormal
|
||||
llDetectedTouchPos
|
||||
llDetectedTouchST
|
||||
llDetectedTouchUV
|
||||
llDetectedType
|
||||
llDetectedVel
|
||||
llDumpList2String
|
||||
llEdgeOfWorld
|
||||
llEscapeURL
|
||||
llEuler2Rot
|
||||
llFabs
|
||||
llFloor
|
||||
llFrand
|
||||
llGenerateKey
|
||||
llGetAccel
|
||||
llGetAgentInfo
|
||||
llGetAgentLanguage
|
||||
llGetAgentList
|
||||
llGetAgentSize
|
||||
llGetAlpha
|
||||
llGetAnimation
|
||||
llGetAnimationList
|
||||
# This may have the side effect of erring but we optimize it out
|
||||
llGetAnimationOverride
|
||||
llGetAttached
|
||||
llGetBoundingBox
|
||||
# This may have the side effect of erring but we optimize it out
|
||||
llGetCameraPos
|
||||
# This may have the side effect of erring but we optimize it out
|
||||
llGetCameraRot
|
||||
llGetCenterOfMass
|
||||
# Has a forced delay, so we disable it
|
||||
#llGetClosestNavPoint
|
||||
llGetColor
|
||||
llGetCreator
|
||||
llGetDate
|
||||
llGetDisplayName
|
||||
llGetEnergy
|
||||
llGetEnv
|
||||
llGetForce
|
||||
llGetFreeMemory
|
||||
llGetFreeURLs
|
||||
llGetGMTclock
|
||||
llGetGeometricCenter
|
||||
llGetHTTPHeader
|
||||
llGetInventoryCreator
|
||||
llGetInventoryKey
|
||||
llGetInventoryName
|
||||
llGetInventoryNumber
|
||||
llGetInventoryPermMask
|
||||
llGetInventoryType
|
||||
llGetKey
|
||||
llGetLandOwnerAt
|
||||
llGetLinkKey
|
||||
llGetLinkMedia
|
||||
llGetLinkName
|
||||
llGetLinkNumber
|
||||
llGetLinkNumberOfSides
|
||||
llGetLinkPrimitiveParams
|
||||
llGetListEntryType
|
||||
llGetListLength
|
||||
llGetLocalPos
|
||||
llGetLocalRot
|
||||
llGetMass
|
||||
llGetMassMKS
|
||||
llGetMemoryLimit
|
||||
llGetNumberOfPrims
|
||||
llGetNumberOfSides
|
||||
llGetObjectDesc
|
||||
llGetObjectDetails
|
||||
llGetObjectMass
|
||||
llGetObjectName
|
||||
llGetObjectPermMask
|
||||
llGetObjectPrimCount
|
||||
llGetOmega
|
||||
llGetOwner
|
||||
llGetOwnerKey
|
||||
llGetParcelDetails
|
||||
llGetParcelFlags
|
||||
llGetParcelMaxPrims
|
||||
llGetParcelMusicURL
|
||||
llGetParcelPrimCount
|
||||
# Forced 2.0 second delay so excluded
|
||||
#llGetParcelPrimOwners
|
||||
llGetPermissions
|
||||
llGetPermissionsKey
|
||||
llGetPhysicsMaterial
|
||||
llGetPos
|
||||
# Forced delay so excluded
|
||||
#llGetPrimMediaParams
|
||||
# Forced delay so excluded
|
||||
#llGetPrimitiveParams
|
||||
llGetRegionAgentCount
|
||||
llGetRegionCorner
|
||||
llGetRegionFPS
|
||||
llGetRegionFlags
|
||||
llGetRegionName
|
||||
llGetRegionTimeDilation
|
||||
llGetRootPosition
|
||||
llGetRootRotation
|
||||
llGetRot
|
||||
llGetSPMaxMemory
|
||||
llGetScale
|
||||
llGetScriptName
|
||||
llGetScriptState
|
||||
llGetSimStats
|
||||
# 10 second delay (?!) so excluded
|
||||
#llGetSimulatorHostname
|
||||
llGetStartParameter
|
||||
# No info on this function, we conservatively remove it
|
||||
#llGetStaticPath
|
||||
llGetStatus
|
||||
llGetSubString
|
||||
llGetSunDirection
|
||||
llGetTexture
|
||||
llGetTextureOffset
|
||||
llGetTextureRot
|
||||
llGetTextureScale
|
||||
llGetTime
|
||||
llGetTimeOfDay
|
||||
llGetTimestamp
|
||||
llGetTorque
|
||||
llGetUnixTime
|
||||
llGetUsedMemory
|
||||
llGetUsername
|
||||
llGetVel
|
||||
llGetWallclock
|
||||
llGround
|
||||
llGroundContour
|
||||
llGroundNormal
|
||||
llGroundSlope
|
||||
llInsertString
|
||||
llIntegerToBase64
|
||||
llJson2List
|
||||
llJsonGetValue
|
||||
llJsonSetValue
|
||||
llJsonValueType
|
||||
llKey2Name
|
||||
llList2CSV
|
||||
llList2Float
|
||||
llList2Integer
|
||||
llList2Json
|
||||
llList2Key
|
||||
llList2List
|
||||
llList2ListStrided
|
||||
llList2Rot
|
||||
llList2String
|
||||
llList2Vector
|
||||
llListFindList
|
||||
llListInsertList
|
||||
llListRandomize
|
||||
llListReplaceList
|
||||
llListSort
|
||||
llListStatistics
|
||||
llLog
|
||||
llLog10
|
||||
llMD5String
|
||||
llModPow
|
||||
llOverMyLand
|
||||
llParseString2List
|
||||
llParseStringKeepNulls
|
||||
llPointAt
|
||||
llPow
|
||||
llRot2Angle
|
||||
llRot2Axis
|
||||
llRot2Euler
|
||||
llRot2Fwd
|
||||
llRot2Left
|
||||
llRot2Up
|
||||
llRotBetween
|
||||
llRound
|
||||
llSHA1String
|
||||
llSameGroup
|
||||
llScriptDanger
|
||||
llSin
|
||||
llSqrt
|
||||
llStringLength
|
||||
llStringToBase64
|
||||
llStringTrim
|
||||
llSubStringIndex
|
||||
llTakeCamera
|
||||
|
||||
llTan
|
||||
llToLower
|
||||
llToUpper
|
||||
llVecDist
|
||||
llVecMag
|
||||
llVecNorm
|
||||
llWater
|
||||
llWind
|
||||
llXorBase64
|
||||
# Forced delay so excluded
|
||||
#llXorBase64Strings
|
||||
llXorBase64StringsCorrect
|
Loading…
Add table
Add a link
Reference in a new issue