Pesquisar

質問
· 2017年3月10日

Error fuction

How to know the severity, priority, urgency of error in InterSystems cache

1 Comment
ディスカッション (1)0
続けるにはログインするか新規登録を行ってください
質問
· 2017年2月15日

How to rewind results of %SQL.StatementResult

Hi, is possible rewind results of %SQL.StatementResult?

I not find a solution.

1 Comment
ディスカッション (1)0
続けるにはログインするか新規登録を行ってください
記事
· 2017年2月10日 6m read

Visualizing the data jungle -- Part II. More sources and nicer output!

In last week's discussion we created a simple graph based on the data input from one file. Now, as we all know, sometimes we have multiple different datafiles to parse and correlate. So this week we are going to load additional perfmon data and learn how to plot that into the same graph.
Since we might want to use our generated graphs in reports or on a webpage, we'll also look into ways to export the generated graphs.

ディスカッション (0)0
続けるにはログインするか新規登録を行ってください
質問
· 2017年2月6日

Lookup Time Complexity of a Global

If I were trying to access an index of a global variable, what time complexity would this operation have? My understanding of languages like Java/C++ is that arrays are stored as blocks of memory so that x[15] would have a lookup time complexity of O(1) because it just goes to (address of the array + 15) and retrieves the value stored there.

How does this work in Cache where the index of a variable isn't necessarily an integer value? If I were to have a variable like the following:

x("Adam") = "Red"

x("George") = "Blue"

x("Bryan") = "Green"

etc...

Would the lookup operation scale with the size of the array such that the variable is iterated through until the given index meets the current index, yielding a O(n) lookup? Or is this done a different way?

5 Comments
ディスカッション (5)0
続けるにはログインするか新規登録を行ってください
質問
· 2017年2月6日

<ENDOFFILE> zOutputToDevice %Library.FileBinaryStream.1

Hello!

I'm getting error <ENDOFFILE> zOutputToDevice %Library.FileBinaryStream.1 when sending XML request to Web Server.  How I can avoid this error? Can anyone help me?

3 Comments
ディスカッション (3)1
続けるにはログインするか新規登録を行ってください